import { get, post } from "../utils/request";
// 用户列表
export const userList = (data) => {
	return post("/admin/basic/user/list", data);
};
// 人群列表
export const userGroupList = (data) => {
	return post("/admin/basic/userGroup/list", data);
};
// 新增人群
export const userGroupAdd = (data) => {
	return post("/admin/basic/userGroup/save", data);
};
// 人群详情
export const userGroupInfo = (id) => {
	return get(`/admin/basic/userGroup/detail/${id}`);
};
// 标签列表
export const userTagList = (params) => {
	return get("/basic/tagLibrary/info/user/tags", params);
};
// 删除人群
export const userGroupDel = (id) => {
	return get("/admin/basic/userGroup/del?id=" + id);
};
